Skip to content

deps: bump @ngx-translate/core from 17.0.0 to 18.0.0 in /Applications/Pgan.PoracleWebNet.App/ClientApp#345

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/Applications/Pgan.PoracleWebNet.App/ClientApp/ngx-translate/core-18.0.0
Open

deps: bump @ngx-translate/core from 17.0.0 to 18.0.0 in /Applications/Pgan.PoracleWebNet.App/ClientApp#345
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/Applications/Pgan.PoracleWebNet.App/ClientApp/ngx-translate/core-18.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 15, 2026

Copy link
Copy Markdown
Contributor

Bumps @ngx-translate/core from 17.0.0 to 18.0.0.

Release notes

Sourced from @​ngx-translate/core's releases.

v18.0.0

@ngx-translate/core@18.0.0 and @ngx-translate/http-loader@18.0.0 are now stable on npm (latest).

v18 is the major API-cleanup release: standalone providers everywhere, signal-based internals, the defaultfallback rename finalized, and the deprecated surface removed. It also resolves three long-standing semantic gotchas and baselines the workspace on Angular 22 / TypeScript 6.0.

Highlights

  • Standalone-first setup. TranslateModule is gone — use provideTranslateService() / provideChildTranslateService() (works in standalone and NgModule apps).
  • New *translateBlock="let t" structural directive for cleaner template translations.
  • New isLoading: Signal<boolean> — true while any use() load is in flight; read it for language-switching spinners.
  • Isolated subtrees are now truly isolated — own events, lookups, and language state.
  • Angular 18–22 supported (16 and 17 dropped); built and tested against Angular 18/19/20/21/22.

Breaking changes — required edits

TranslateModule removed. Replace TranslateModule.forRoot({...}) / forChild({...}) with provideTranslateService({...}) / provideChildTranslateService({...}). The pipe, directive, and service are standalone.

Deprecated default* symbols removed — rename:

Removed Replacement
defaultLang fallbackLang
setDefaultLang() setFallbackLang()
getDefaultLang() getFallbackLang()
onDefaultLangChange onFallbackLangChange
DefaultLangChangeEvent FallbackLangChangeEvent
langs getLangs()
setValue() (util) insertValue()

Also removed: useDefaultLang and defaultLanguage config fields (along with TranslateModule).

Deprecated (still works, warns once): using element text content as a key (<span translate>Hello</span>). Use [translate]="'KEY'", the translate pipe, or *translateBlock. It will be removed next major.

Potentially breaking — low impact (behavior changes)

  • A failed use() no longer mutates state. On loader failure, currentLang() / lastUseLanguage stay at the prior value instead of switching to the failed language. Use isLoading() or the returned Observable's error channel to drive switching UI.
  • Isolated subtrees no longer see ancestor translationChange$ events, nor borrow keys from outer scopes. Isolation now means own events + own lookups + own language state. If you wanted shared translations with subtree-scoped state, use provideChildTranslateService({ extend: true }).
  • instant() "unloaded language" warning is deduplicated per isolated subtree (was once per service instance).
  • ITranslateService gains isLoading: Signal<boolean>. If you mock it via implements/extends ITranslateService, add isLoading = signal(false).asReadonly(). See the "Mocking TranslateService" recipe in the README.
  • Loader errors are now logged instead of silently swallowed.

Migration

Full step-by-step guide: https://ngx-translate.org → Getting Started → Migration Guide.


Angular compatibility: 18, 19, 20, 21, 22 · TypeScript: 6.0 · RxJS: ≥7

v18.0.0-rc.1

... (truncated)

Commits
  • d42c871 chore: bump version to 18.0.0
  • 28a9649 fix(core): child get() awaits in-flight load; reactivity + test hardening
  • 2542123 ci: drop Node 20 from Angular 22 matrix, point compat 21 at a21
  • 8dc4423 chore(core): extend compat matrix to Angular 22, add a21, drop a16
  • f34c2ad chore(core): upgrade workspace to Angular 22 + TypeScript 6.0
  • 3b40d61 chore: bump version to 18.0.0-rc.3
  • 351a147 docs: prettier-reformat providers-and-scoping proposal
  • b5075d0 style: prettier reformat across http-loader, test-app, and lockfile
  • cd64249 feat(core): isLoading hierarchy, use() rollback, getRoot/getParent API
  • d3b8e39 test: silence intentional console.warn noise in passing tests
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@ngx-translate/core](https://github.com/ngx-translate/core) from 17.0.0 to 18.0.0.
- [Release notes](https://github.com/ngx-translate/core/releases)
- [Commits](ngx-translate/core@v17.0.0...v18.0.0)

---
updated-dependencies:
- dependency-name: "@ngx-translate/core"
  dependency-version: 18.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency label Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants